// samsting : this file is auto create.

#include "Oms/2015-02-12/GetUserDataResponse.h"

namespace aliyun { namespace Oms {

GetUserDataResponse::GetUserDataResponse() {
}

const string& GetUserDataResponse::Data::DataItem::GetName(void) const {
  return Name_;
}

const string& GetUserDataResponse::Data::DataItem::GetValue(void) const {
  return Value_;
}

const std::vector<GetUserDataResponse::Data::DataItem>& GetUserDataResponse::Data::GetDataItems(void) const {
  return DataItems_;
}

const std::vector<GetUserDataResponse::Data>& GetUserDataResponse::GetDataList(void) const {
  return DataList_;
}

const string& GetUserDataResponse::GetProductName(void) const {
  return ProductName_;
}

const string& GetUserDataResponse::GetDataType(void) const {
  return DataType_;
}

const string& GetUserDataResponse::GetNextToken(void) const {
  return NextToken_;
}

const char* GetUserDataResponse::BaseKey(void) {
  return "GetUserDataResponse";
}

void GetUserDataResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int DataList__length = 0;
  UnmarshallerInt(DataList__length, response_map, "GetUserDataResponse.DataList.Length");
  if(DataList__length >= 0) {
    DataList_.resize(DataList__length);
    for(int i1 = 0; i1 < DataList__length; i1++) {
      int DataList_i1_DataItems__length = 0;
      UnmarshallerInt(DataList_i1_DataItems__length, response_map, "GetUserDataResponse.DataList[+"+string_ValueOfInt(i1)+"].DataItems.Length");
      if(DataList_i1_DataItems__length >= 0) {
        DataList_[i1].DataItems_.resize(DataList_i1_DataItems__length);
        for(int i2 = 0; i2 < DataList_i1_DataItems__length; i2++) {
          UnmarshallerString(DataList_[i1].DataItems_[i2].Name_, response_map, "GetUserDataResponse.DataList[+"+string_ValueOfInt(i1)+"].DataItems["+string_ValueOfInt(i2)+"].Name");
          UnmarshallerString(DataList_[i1].DataItems_[i2].Value_, response_map, "GetUserDataResponse.DataList[+"+string_ValueOfInt(i1)+"].DataItems["+string_ValueOfInt(i2)+"].Value");
        } // for(int i2 = 0; i2 < DataList_i1_DataItems__length; i2++) {
      } // if(DataList_i1_DataItems__length >= 0) {

    } // for(int i1 = 0; i1 < DataList__length; i1++) {
  } // if(DataList__length >= 0) {

  UnmarshallerString(ProductName_, response_map, "GetUserDataResponse.ProductName");
  UnmarshallerString(DataType_, response_map, "GetUserDataResponse.DataType");
  UnmarshallerString(NextToken_, response_map, "GetUserDataResponse.NextToken");
}


} } // namespace aliyun { namespace Oms {

// end of file 
